import { Component, DescCompoundType, requireResource } from "../../../component";
import { Head } from "../components/head/res/js/head_index";

export type JH = JQuery<HTMLElement>;
//, DescCompoundType<JQueryStatic, JQuery<HTMLElement>>
declare global {
  interface Window {
    auxClass: Component<JQueryStatic, JH>;
  }
}

export class Aux {
  // myClass: Component<JQueryStatic, JH, descItem<JQueryStatic>> = new Head();
  // requiredRes: requireResource;
  root: JH = $("body");

  constructor() {
    // this.requiredRes = this.myClass.require ? this.myClass.require() : {};
    // this.root = $(`#${this.myClass.getName()}`);
    // this.myClass.load && this.myClass.load($, this.root, this.requiredRes);
  }
}

new Aux();
